/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package hu.intersoft.sandbox.ejb.logic;

import javax.ejb.Remote;

/**
 *
 * @author ntb
 */
@Remote
public interface SandboxManagerRemote {

    public java.util.List<hu.intersoft.sandbox.ejb.entity.News> getNewsEntities();

    public java.util.List<hu.intersoft.sandbox.ejb.entity.News> getNewsEntitiesByTag(java.lang.String tag);

    public java.util.List<hu.intersoft.sandbox.ejb.entity.News> getNewsEntitiesByHeader(java.lang.String header);

    public int addNews(hu.intersoft.sandbox.ejb.entity.News news);

    public void removeNews(int newsId);

    public java.util.List<hu.intersoft.sandbox.ejb.entity.News> getNewsOrderByDate();
    
}
